#include "DataDefs.h"

#include "df/graphic.h"

using namespace DFHack;
using df::global::gps;

DFhackCExport void *game_global_gps_get_coordinate()
{
  return &gps->screenx;
}

DFhackCExport void *game_global_gps_get_dimensions()
{
  return &gps->dimx;
}

DFhackCExport void *game_global_gps_get_color_info()
{
  return &gps->screenf;
}

DFhackCExport bool game_global_gps_top_in_use()
{
  return gps->top_in_use;
}
